import Mock from 'mockjs'

Mock.mock('/getClassify', 'get', {
    'list|9': [{
        'id|+1': 1,
        img: '@img(80x80,@color)',
        title: '@ctitle(2)'
    }]
});

Mock.mock('/getDetail', 'get', {
    'id|+1': 1,
    img: '@img(300x150,@color)',
    title: '@ctitle(10)',
    'price|1-100': 1,
    checked: false,
    num: 1,
})

Mock.mock('/getCart', 'get', {
    'list|4': [{
        'id|+1': 1,
        img: '@img(300x150,@color)',
        title: '@ctitle(10)',
        'price|1-100': 1,
        checked: false,
        num: 1,
    }]
})